<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<input id="c-group_id" data-rule="required"  class="form-control " name="row[group_id]" type="hidden" value="7"> -->
    <input id="c-password" data-rule="required"  class="form-control " name="row[password]" type="hidden" value="04eb6add6c505161ea24f50462d5ca0e">
    <input id="c-salt" data-rule="required"  class="form-control " name="row[salt]" type="hidden" value="h0NkJo">
    <input id="c-card_tpl_image" data-rule="required"  class="form-control " name="row[card_tpl_image]" type="hidden" value="/uploads/20200920/249d96e7918477d503cc4f9c9790f507.jpg">
    <input id="c-email" data-rule="required"  class="form-control " name="row[email]" type="hidden" value="wwww@sohu.com">
    <input id="c-status" data-rule="required"  class="form-control " name="row[status]" type="hidden" value="normal">    
    <input id="c-prevtime" data-rule="required"  class="form-control " name="row[prevtime]" type="hidden" value="1602010490">    
    <input id="c-logintime" data-rule="required"  class="form-control " name="row[logintime]" type="hidden" value="1602009610">    
    <input id="c-loginip" data-rule="required"  class="form-control " name="row[loginip]" type="hidden" value="175.24.85.218">    
    <input id="c-joinip" data-rule="required"  class="form-control " name="row[joinip]" type="hidden" value="175.24.85.218">    
    
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!--<input id="c-group_id" data-rule="required" data-source="group/index" class="form-control selectpage" name="row[group_id]" type="text" value="{$row.group_id|htmlentities}">
            -->
            {$groupList}
        </div> 
    </div>
    
    <input id="c-group_id" data-rule="required"  class="form-control " name="row[username]" type="hidden" value="{$row.username|htmlentities}">
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nickname" data-rule="required" class="form-control" name="row[nickname]" type="text" value="{$row.nickname|htmlentities}">
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-avatar" data-rule="required" class="form-control" size="50" name="row[avatar]" type="text" value="{$row.avatar|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-avatar" class="btn btn-danger plupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-avatar"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-avatar"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('会员等级')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-qs_type" class="form-control selectpicker" name="row[level]">
                {foreach name="levelList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.level"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Region_city')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-region_city" class="form-control" data-toggle="city-picker" name="row[region_city]" type="text" value="{$row.region_city|htmlentities}"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Work')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-work" class="form-control" name="row[work]" type="text" value="{$row.work|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Experience')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-experience" class="form-control" name="row[experience]" type="text" value="{$row.experience|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Companyname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-companyname" class="form-control" name="row[companyname]" type="text" value="{$row.companyname|htmlentities}">
        </div>
    </div>
    

    <!--
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_tpl_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card_tpl_id" data-rule="required" data-source="card/tpl/index" class="form-control selectpage" name="row[card_tpl_id]" type="text" value="{$row.card_tpl_id|htmlentities}">
        </div>
    </div>
    -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_tpl_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            {$cardtplList}
        </div>
    </div>

    <!--
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_tpl_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-card_tpl_image" class="form-control" size="50" name="row[card_tpl_image]" type="textarea" value="{$row.card_tpl_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-card_tpl_image" class="btn btn-danger plupload" data-input-id="c-card_tpl_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-card_tpl_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-card_tpl_image" class="btn btn-primary fachoose" data-input-id="c-card_tpl_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-card_tpl_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-card_tpl_image"></ul>
        </div>
    </div>
    -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Certify_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="certifyStatusList" item="vo"}
            <label for="row[certify_status]-{$key}"><input id="row[certify_status]-{$key}" name="row[certify_status]" type="radio" value="{$key}" {in name="key" value="$row.certify_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appr_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="apprStatusList" item="vo"}
            <label for="row[appr_status]-{$key}"><input id="row[appr_status]-{$key}" name="row[appr_status]" type="radio" value="{$key}" {in name="key" value="$row.appr_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appr_fail_reson')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appr_fail_reson" class="form-control" name="row[appr_fail_reson]" type="text" value="{$row.appr_fail_reson|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
